<template>
  <div class="app_group_wrap">
    <Head title="Qiankun" />
    <el-container class="app_main_wrap">
      <el-aside width="200px">
        <Menu></Menu>
      </el-aside>
      <el-main>
        <router-view></router-view>
        <!-- 挂载子应用节点 -->
        <div id="mainApp"></div>
      </el-main>
    </el-container>
  </div>
</template>

<script setup>
import Head from '@/components/Head'
import Menu from '@/components/Menu'
</script>

<style>
.app_group_wrap {
  width: 100vw;
  height: 100vh;
}

.app_main_wrap {
  height: calc(100% - 50px);
}
</style>
